package src.lab04.test01.test03;

public class A extends Thread{
    public void run() {
        //每隔1秒向控制台输出"Hello,world!"
        while (true) {

            try {
                Thread.sleep(2000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println("1234567890");

        }
    }
}